package cc.rengu.redp.bizimpl.csmc.service;

import cc.rengu.redp.bizimpl.csmc.domain.CRoleAcctInfo;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author lizk
 */
public interface ICRoleAcctInfoService extends IService<CRoleAcctInfo> {

    IPage<CRoleAcctInfo> findByPage(QueryRequest queryRequest, CRoleAcctInfo roleAcctInfo);

    void createRoleAcctInfo(CRoleAcctInfo roleAcctInfo) throws RedpException;

    void updateRoleAcctInfo(CRoleAcctInfo roleAcctInfo) throws RedpException ;

    Map<String, Object> cRoleAcctInfoSelect2List(String q, QueryRequest request);
}
